﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinCustomsService.Model
{

    /// <summary>
    /// 清关报关
    /// </summary>
    public class CustomsClearanceEditor
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderId { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        /// 支付清关状态
        /// </summary>
        public CustomsClearanceType PayStatus { get; set; }


        /// <summary>
        /// 订单推送状态
        /// </summary>
        public CustomsPushType OrderStatus { get; set; }

        /// <summary>
        /// 请求内容
        /// </summary>
        public string Data { get; set; }

        /// <summary>
        /// 返回消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 请求时间
        /// </summary>
        public DateTime RequestTime { get; set; }

        /// <summary>
        /// 验证机构
        /// </summary>
        public string VerifyDepartment { get; set; }

        /// <summary>
        /// 验核机构交易流水号
        /// </summary>
        public string VerifyDepartmentTradeId { get; set; }

        /// <summary>
        /// 订购人和支付人身份信息校验结果 UNCHECKED 商户未上传订购人身份信息 SAME 商户上传的订购人身份信息与支付人身份信息一致 DIFFERENT 商户上传的订购人身份信息与支付人身份信息不一致
        /// </summary>
        public string Cert_check_result { get; set; }

        /// <summary>
        /// 是否推送成功
        /// </summary>
        public CustomsPushType PushType { get; set; }

        /// <summary>
        /// 类型 0 支付 1宁波推送
        /// </summary>
        public CustomsPushPlatform TypeId { get; set; }

        /// <summary>
        /// 错误提醒
        /// </summary>
        public string Error { get; set; }


        /// <summary>
        /// 需要加签的内容
        /// </summary>
        public string XmlStr { get; set; }

        /// <summary>
        /// 操作密码
        /// </summary>
        public string Passwd { get; set; }

        public long Id { get; set; }

    }
}
